package com.carey.yygh.user.service;

import com.carey.yygh.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-msm")
public interface MsmService {
    @GetMapping("send/{phone}")
    public Result sendCode(@PathVariable String phone);
}
